/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.mapper;

import org.apache.ibatis.annotations.*;
import org.apache.ibatis.mapping.StatementType;
import org.springframework.context.annotation.Scope;

import java.util.List;
import java.util.Map;

/**
 * <p>Project: mybatis2022 - DbMapper
 * <p>Powered by webrx On 2022-04-14 09:40:53
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface DbMapper {
    int deleteById(Map<String,Object> map);

    //@Update("{call pbookshow()}") @Options(statementType = StatementType.CALLABLE)
    List<Map<String,Object>> pbookshow(Map<String,Object> map);

    @Update("{call pbookdel}") @Options(statementType = StatementType.CALLABLE)
    int pbookdel();
}
